﻿namespace Jim.K3Cloud;

/// <summary>
/// 可指定登录组织的登录接口
/// </summary>
[Sdk("Kingdee.BOS.WebApi.ServicesStub.AuthService.ValidateUserEnDeCodeByOrgNumber", "账号密码登录")]
public class K3CloudValidateUserEnDeCodeByOrgNumberRequest : IK3CloudLoginRequest
{
    private string _userName { get; set; }
    private string _password { get; set; }

    public string AcctID { get; set; }
    public string Username
    {
        get
        {
            return EnDecode.Encode(_userName);
        }
        set => _userName = value;
    }
    public string Password
    {
        get => EnDecode.Encode(_password);
        set => _password = value;
    }
    public int Lcid { get; set; } = 2052;
    /// <summary>
    /// 组织编码
    /// </summary>
    public string OrgNumbe{ get; set; }

    public void Validate()
    {
    }
}
